import crmRouter from './modules/crm'
import systemRouter from './modules/system'
import eimsRouter from './modules/eims'
import {deepClone} from '@/utils'
const moduleRouter = {
  getModuleRouter: function (module) {
    if (module === 'crm') {
      return deepClone(crmRouter)
    } else if (module === 'system') {
      return deepClone(systemRouter)
    } else if (module === 'eims') {
      return deepClone(eimsRouter)
    }
    return null
  }
}
export default moduleRouter
